﻿using AutoMapper;
using B.S.Production.Domain.Entities;
using B.S.Production.Read.API.Application.Command.GetProductionOrderCommand;
using B.S.Production.Read.API.Dto;

namespace B.S.Production.Read.API
{
    public class MappingProfile:Profile
    {
        public MappingProfile()
        {
            //生产订单
            CreateMap<ProductionOrder, ProductionOrderDTO>();
            //物料
            CreateMap<MaterialsRequired, MaterialsRequiredDTO>();
            CreateMap<BomMainMaterialsRequired, BomMainMaterialsRequiredDTO>();
        }
    }
}
